package com.jsg.sl651.entity.city;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public class CityDefinition {
    private final CityInfo province;
    private final CityInfo city;
    private final CityInfo district;

    @Override
    public String toString() {
        return "城市编码：" + district.getCityCode() + ",城市名称：" + province.getCityName() + city.getCityName() + district.getCityName();
    }
}
